/**
 * CircleList.java
 * com.jamin.aabill.api
 *
 * Function： TODO 
 *
 *   ver     date      		author
 * ──────────────────────────────────
 *   		 2012-7-27 		wangjieming
 *
 * Copyright (c) 2012, TNT All Rights Reserved.
 */

package com.jamin.aabill.data;

import java.util.ArrayList;

import android.database.Cursor;

import com.jamin.aabill.api.BillApi;
import com.jamin.aabill.api.BillException;
import com.jamin.aabill.api.BillResponse;
import com.jamin.aabill.http.Response;

/**
 * ClassName:CircleList
 *
 * @author   wangjieming
 * @version  1.0
 * @since    v1.0
 * @Date	 2012-7-27 下午2:38:05 
 */
public class CircleList extends BillResponse{



	public CircleList(Response res) throws BillException{
		super(res, BillApi.TYPE_JSONOBJECT);
		
	}



	public CircleList(Cursor cur){
		for(cur.moveToFirst() ; !cur.isAfterLast() ; cur.moveToNext()){
			list.add(new Circle(cur));
		}
	}


	ArrayList<Circle> list = new ArrayList<Circle>();


	public ArrayList<Circle> getList() {
		return list;
	}


	public void setList(ArrayList<Circle> list) {
		this.list = list;
	}





}

